package com.example.chartroom1.mapper;

import com.example.chartroom1.model.User;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper {
    //插入user -》 注册
    int insert(User user);

    //根据用户名查询用户信息 -》登录
    User selectByName(String username);
}
